package com.sky.mapper;

import com.sky.annotation.AutoFill;
import com.sky.entity.DishFlavor;
import com.sky.enumeration.OperationType;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@SuppressWarnings("all")
/**
 *@ClassName DishFlavorMapper
 *@Description TODO
 *@Author @O_o  GW__
 *@Date 2025/5/25 18:16
 *@Version 1.0
 */
@Mapper
public interface DishFlavorMapper {
    void insertFlavors(List<DishFlavor> flavors);

    void deleteByDishId(Long id);

    void deleteByDishIds(List<Long> ids);

    //根据菜品id查询菜品口味数据
    List<DishFlavor> getByDishId(Long id);
}
